home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Sound Blastoff
/
Sound Blastoff.iso
/
Sound Utilities
/
QuickChords™ 0.5b ƒ
/
QuickChords™ 0.5b
/
QuickChords™ 0.5b.rsrc
/
bin.rsrc_CODE_4.txt
< prev
next >
Wrap
Text File
|
1994-07-11
|
19KB
|
322 lines
# near model CODE resource
# jump table entries: 144-147 (4 of them)
export_20:
00000000 41ED 10CA lea.l A0, [A5 + 0x10CA /* export_533 */]
00000004 2B48 F704 move.l [A5 - 0x8FC], A0
00000008 41FA 0326 lea.l A0, [PC + 0x326 /* 00000330, value 0x2A0002 */]
0000000C 43ED FD6A lea.l A1, [A5 - 0x296]
00000010 7024 moveq.l D0, 0x24
00000012 A02E syscall BlockMove/BlockMoveData
00000014 203C 0000 FFFF move.l D0, 0xFFFF
0000001A A032 syscall FlushEvents
0000001C 486D FA7E pea.l [A5 - 0x582]
00000020 A976 syscall GetKeys
00000022 302D FA84 move.w D0, [A5 - 0x57C]
00000026 0800 0002 btst.b D0, 0x2
0000002A 666E bne +0x70 /* 0000009A */
0000002C 598F subq.l A7, 4
0000002E 2F3C 5773 697A move.l -[A7], 0x5773697A /* 'Wsiz' */
00000034 3F3C 0001 move.w -[A7], 0x1
00000038 A9A0 syscall GetResource
0000003A 201F move.l D0, [A7]+
0000003C 675C beq +0x5E /* 0000009A */
0000003E 2040 movea.l A0, D0
00000040 2450 movea.l A2, [A0]
00000042 204A movea.l A0, A2
00000044 43ED FD6A lea.l A1, [A5 - 0x296]
00000048 7024 moveq.l D0, 0x24
0000004A A02E syscall BlockMove/BlockMoveData
0000004C 2449 movea.l A2, A1
0000004E 6128 bsr +0x2A /* 00000078 */
00000050 6608 bne +0xA /* 0000005A */
00000052 24FA 02DC move.l [A2]+, [PC + 0x2DC /* 00000330, value 0x2A0002 */]
00000056 24BA 02DC move.l [A2], [PC + 0x2DC /* 00000334, value 0x14E01F6 */]
label0000005A:
0000005A 45ED FD72 lea.l A2, [A5 - 0x28E]
0000005E 6118 bsr +0x1A /* 00000078 */
00000060 6608 bne +0xA /* 0000006A */
00000062 24FA 02D4 move.l [A2]+, [PC + 0x2D4 /* 00000338, value 0x300002 */]
00000066 24BA 02D4 move.l [A2], [PC + 0x2D4 /* 0000033C, value 0x14E01FC */]
label0000006A:
0000006A 45ED FD8A lea.l A2, [A5 - 0x276]
0000006E 6108 bsr +0xA /* 00000078 */
00000070 6628 bne +0x2A /* 0000009A */
00000072 24BA 02DC move.l [A2], [PC + 0x2DC /* 00000350, value 0xF00032 */]
00000076 6022 bra +0x24 /* 0000009A */
fn00000078:
00000078 4227 clr.b -[A7]
0000007A 2F12 move.l -[A7], [A2]
0000007C 5157 subq.w [A7], 8
0000007E 2F38 09EE move.l -[A7], [0x000009EE /* GrayRgn */]
00000082 A8E8 syscall PtInRgn
00000084 4A17 tst.b [A7]
00000086 670E beq +0x10 /* 00000096 */
00000088 2F12 move.l -[A7], [A2]
0000008A 5057 addq.w [A7], 8
0000008C 506F 0002 addq.w [A7 + 0x2], 8
00000090 2F38 09EE move.l -[A7], [0x000009EE /* GrayRgn */]
00000094 A8E8 syscall PtInRgn
label00000096:
00000096 4A1F tst.b [A7]+
00000098 4E75 rts
label0000009A:
0000009A 2B7C 0050 0050 FD0E move.l [A5 - 0x2F2], 0x500050 /* 'P\0P' */
000000A2 2B7C 4000 4000 FD12 move.l [A5 - 0x2EE], 0x40004000 /* '@\0@\0' */
000000AA 2B7C 2E2C 2024 FDEA move.l [A5 - 0x216], 0x2E2C2024 /* '., $' */
000000B2 1B7C 00FF F59F move.b [A5 - 0xA61], 0xFF
000000B8 3B78 0A5A FD32 move.w [A5 - 0x2CE], [0x00000A5A /* CurMap */]
000000BE 4EBA 00F2 jsr [PC + 0xF2 /* 000001B2 */]
000000C2 598F subq.l A7, 4
000000C4 42A7 clr.l -[A7]
000000C6 486D FD6A pea.l [A5 - 0x296]
000000CA 487A 0252 pea.l [PC + 0x252 /* 0000031E, value 0x7465554 */]
000000CE 4267 clr.w -[A7]
000000D0 4267 clr.w -[A7]
000000D2 3038 028E move.w D0, [0x0000028E /* ROM85 */]
000000D6 6B04 bmi +0x6 /* 000000DC */
000000D8 3EBC 0008 move.w [A7], 0x8
label000000DC:
000000DC 2F3C FFFF FFFF move.l -[A7], 0xFFFFFFFF
000000E2 4267 clr.w -[A7]
000000E4 42A7 clr.l -[A7]
000000E6 0240 C000 andi.w D0, 0xC000
000000EA 6604 bne +0x6 /* 000000F0 */
000000EC AA45 syscall NewCWindow
000000EE 6002 bra +0x4 /* 000000F2 */
label000000F0:
000000F0 A913 syscall NewWindow
label000000F2:
000000F2 2B57 F774 move.l [A5 - 0x88C], [A7]
000000F6 A873 syscall SetPort
000000F8 206D F774 movea.l A0, [A5 - 0x88C]
000000FC 2B48 F62E move.l [A5 - 0x9D2], A0
00000100 302D FD82 move.w D0, [A5 - 0x27E]
00000104 3140 0044 move.w [A0 + 0x44], D0
00000108 3B40 F66A move.w [A5 - 0x996], D0
0000010C 302D FD84 move.w D0, [A5 - 0x27C]
00000110 3140 004A move.w [A0 + 0x4A], D0
00000114 3B40 F668 move.w [A5 - 0x998], D0
00000118 3B6D FD86 F66E move.w [A5 - 0x992], [A5 - 0x27A]
0000011E 486D F660 pea.l [A5 - 0x9A0]
00000122 A88B syscall GetFontInfo
00000124 206D FFFC movea.l A0, [A5 - 0x4]
00000128 2B68 0010 F678 move.l [A5 - 0x988], [A0 + 0x10]
0000012E 2B68 0014 F67C move.l [A5 - 0x984], [A0 + 0x14]
00000134 04AD 000F 000F F67C subi.l [A5 - 0x984], 0xF000F
0000013C 486D F678 pea.l [A5 - 0x988]
00000140 A87B syscall ClipRect
00000142 3F3C 0002 move.w -[A7], 0x2
00000146 3F2D F668 move.w -[A7], [A5 - 0x998]
0000014A A893 syscall MoveTo
0000014C 598F subq.l A7, 4
0000014E A8D8 syscall NewRgn
00000150 2B5F F680 move.l [A5 - 0x980], [A7]+
00000154 203C 0000 1000 move.l D0, 0x1000
0000015A A31E syscall NewPtrClear, flags=3
0000015C 661C bne +0x1E /* 0000017A */
0000015E 41E8 0400 lea.l A0, [A0 + 0x400]
00000162 2B48 F744 move.l [A5 - 0x8BC], A0
00000166 598F subq.l A7, 4
00000168 2F3C 414E 4459 move.l -[A7], 0x414E4459 /* 'ANDY' */
0000016E 487A 01B6 pea.l [PC + 0x1B6 /* 00000326, value 0x7476172, pstring "Gariepy" */]
00000172 A9A1 syscall GetNamedResource
00000174 2B5F F684 move.l [A5 - 0x97C], [A7]+
00000178 6604 bne +0x6 /* 0000017E */
label0000017A:
0000017A 7019 moveq.l D0, 0x19
0000017C A9C9 syscall SysError
export_19:
label0000017E:
0000017E 206D F684 movea.l A0, [A5 - 0x97C]
00000182 A029 syscall HLock
00000184 206D F684 movea.l A0, [A5 - 0x97C]
00000188 2050 movea.l A0, [A0]
0000018A 7207 moveq.l D1, 0x07
0000018C 43ED FDA2 lea.l A1, [A5 - 0x25E]
label00000190:
00000190 22D8 move.l [A1]+, [A0]+
00000192 51C9 FFFC dbf D1, -0x6 /* 00000190 */
00000196 7209 moveq.l D1, 0x09
00000198 7000 moveq.l D0, 0x00
0000019A 7400 moveq.l D2, 0x00
0000019C 342D FDA2 move.w D2, [A5 - 0x25E]
000001A0 5A82 addq.l D2, 5
000001A2 5882 addq.l D2, 4
label000001A4:
000001A4 4870 0800 pea.l [A0 + D0]
000001A8 22DF move.l [A1]+, [A7]+
000001AA D082 add.l D0, D2
000001AC 51C9 FFF6 dbf D1, -0xC /* 000001A4 */
000001B0 4E75 rts
fn000001B2:
000001B2 42AD F770 clr.l [A5 - 0x890]
000001B6 51ED FD24 sf [A5 - 0x2DC]
000001BA 7078 moveq.l D0, 0x78
000001BC A322 syscall NewHandleClear, flags=3
000001BE 2B48 F76C move.l [A5 - 0x894], A0
000001C2 2F3C C800 0000 move.l -[A7], 0xC8000000
000001C8 A8FD syscall PrGlue
000001CA 4267 clr.w -[A7]
000001CC 2F3C BA00 0000 move.l -[A7], 0xBA000000
000001D2 A8FD syscall PrGlue
000001D4 301F move.w D0, [A7]+
000001D6 6614 bne +0x16 /* 000001EC */
000001D8 2F2D F76C move.l -[A7], [A5 - 0x894]
000001DC 2F3C 2004 0480 move.l -[A7], 0x20040480
000001E2 A8FD syscall PrGlue
000001E4 2F3C D000 0000 move.l -[A7], 0xD0000000
000001EA A8FD syscall PrGlue
label000001EC:
000001EC 4E75 rts
export_21:
000001EE 426D F4AE clr.w [A5 - 0xB52]
000001F2 422D F738 clr.b [A5 - 0x8C8]
000001F6 42AD F69C clr.l [A5 - 0x964]
000001FA 426D F6A8 clr.w [A5 - 0x958]
000001FE 42AD F4B0 clr.l [A5 - 0xB50]
00000202 422D F64B clr.b [A5 - 0x9B5]
00000206 422D F537 clr.b [A5 - 0xAC9]
0000020A 422D FD25 clr.b [A5 - 0x2DB]
0000020E 422D F5A1 clr.b [A5 - 0xA5F]
00000212 3B7C 0001 F66C move.w [A5 - 0x994], 0x1
00000218 3B7C 0001 F5DE move.w [A5 - 0xA22], 0x1
0000021E 426D F66E clr.w [A5 - 0x992]
00000222 3B7C 0004 F66A move.w [A5 - 0x996], 0x4
00000228 7009 moveq.l D0, 0x09
0000022A 3B40 F668 move.w [A5 - 0x998], D0
0000022E 41ED F4D4 lea.l A0, [A5 - 0xB2C]
label00000232:
00000232 4298 clr.l [A0]+
00000234 51C8 FFFC dbf D0, -0x6 /* 00000232 */
00000238 422D F535 clr.b [A5 - 0xACB]
0000023C 426D F87E clr.w [A5 - 0x782]
00000240 42AD F566 clr.l [A5 - 0xA9A]
00000244 2B7C 0300 0400 F56A move.l [A5 - 0xA96], 0x3000400
0000024C 50ED F538 st [A5 - 0xAC8]
00000250 08AD 0001 F5F4 bclr.b [A5 - 0xA0C], 0x1
00000256 1B7C 00FF FD27 move.b [A5 - 0x2D9], 0xFF
0000025C 422D FD26 clr.b [A5 - 0x2DA]
00000260 42AD F562 clr.l [A5 - 0xA9E]
00000264 422D FD22 clr.b [A5 - 0x2DE]
00000268 422D FDEE clr.b [A5 - 0x212]
0000026C 422D F64A clr.b [A5 - 0x9B6]
00000270 426D F646 clr.w [A5 - 0x9BA]
00000274 426D F644 clr.w [A5 - 0x9BC]
00000278 426D F642 clr.w [A5 - 0x9BE]
0000027C 426D F648 clr.w [A5 - 0x9B8]
00000280 426D FD30 clr.w [A5 - 0x2D0]
00000284 42AD F55E clr.l [A5 - 0xAA2]
00000288 426D F740 clr.w [A5 - 0x8C0]
0000028C 426D F742 clr.w [A5 - 0x8BE]
00000290 42AD F5BE clr.l [A5 - 0xA42]
00000294 42AD F5C6 clr.l [A5 - 0xA3A]
00000298 42AD F5BA clr.l [A5 - 0xA46]
0000029C 42AD F5B6 clr.l [A5 - 0xA4A]
000002A0 42AD F5C2 clr.l [A5 - 0xA3E]
000002A4 42AD F5CA clr.l [A5 - 0xA36]
000002A8 42AD F5D2 clr.l [A5 - 0xA2E]
000002AC 42AD F748 clr.l [A5 - 0x8B8]
000002B0 203C 0000 0400 move.l D0, 0x400
000002B6 A31E syscall NewPtrClear, flags=3
000002B8 6600 FEC0 bne -0x13E /* 0000017A */
000002BC 2B48 F5A6 move.l [A5 - 0xA5A], A0
000002C0 2B48 F5AA move.l [A5 - 0xA56], A0
000002C4 2B48 F5AE move.l [A5 - 0xA52], A0
000002C8 D0FC 0400 add.w A0, 0x400
000002CC 2B48 F5B2 move.l [A5 - 0xA4E], A0
000002D0 2B78 020C F5E8 move.l [A5 - 0xA18], [0x0000020C /* Time */]
000002D6 426D F5F0 clr.w [A5 - 0xA10]
000002DA 70FF moveq.l D0, 0xFFFFFFFF
000002DC 2B40 F5EC move.l [A5 - 0xA14], D0
000002E0 3B40 F63C move.w [A5 - 0x9C4], D0
000002E4 3B40 F63E move.w [A5 - 0x9C2], D0
000002E8 2B40 F58E move.l [A5 - 0xA72], D0
000002EC 2B40 F592 move.l [A5 - 0xA6E], D0
000002F0 3B7C 0080 F576 move.w [A5 - 0xA8A], 0x80
000002F6 3B7C 0080 F578 move.w [A5 - 0xA88], 0x80
000002FC 41ED FA7E lea.l A0, [A5 - 0x582]
00000300 2B48 F602 move.l [A5 - 0x9FE], A0
00000304 42AD F586 clr.l [A5 - 0xA7A]
00000308 426D F58A clr.w [A5 - 0xA76]
0000030C 3B7C 0010 FD2E move.w [A5 - 0x2D2], 0x10
00000312 2B7A 0006 F768 move.l [A5 - 0x898], [PC + 0x6 /* 0000031A, value 0x4EAD0E8A */]
00000318 4E75 rts
0000031A 4EAD 0E8A jsr [A5 + 0xE8A /* export_461 */]
0000031E 0746 bchg D6, D3
00000320 5554 subq.w [A4], 2
00000322 5552 subq.w [A2], 2
00000324 45AA 0747 .invalid 2, [A2 + 0x747] // invalid opcode 4 with b == 6
00000328 6172 bsr +0x74 /* 0000039C */
0000032A 6965 bvs +0x67 /* 00000391 */
0000032C 7079 moveq.l D0, 0x79
0000032E 0000 002A ori.b D0, 0x2A /* '*' */
00000332 0002 014E ori.b D2, 0x4E /* 'N' */
00000336 01F6 0030 bset [A6 + D0.w + 0x30], D0
0000033A 0002 014E ori.b D2, 0x4E /* 'N' */
0000033E 01FC bset 0xFFFFFFFFFFFFFFFF, D0
00000340 002A 0002 014E ori.b [A2 + 0x14E], 0x2
00000346 01F6 0004 bset [A6 + D0.w + 0x4], D0
0000034A 0009 0000 ori.b A1, 0x0
0000034E 0000 00F0 ori.b D0, 0xF0
00000352 0032 41ED E95A 200D ori.b [[A2] + 0x200D], 0xED
export_18: // at 00000354 (misaligned)
0000035A 5180 subq.l D0, 8
label0000035C:
0000035C 4298 clr.l [A0]+
0000035E B088 cmp.l D0, A0
00000360 64FA bcc -0x4 /* 0000035C */
00000362 47ED F71A lea.l A3, [A5 - 0x8E6]
00000366 6116 bsr +0x18 /* 0000037E */
00000368 41ED FEFC lea.l A0, [A5 - 0x104]
0000036C 701F moveq.l D0, 0x1F
label0000036E:
0000036E 42A0 clr.l -[A0]
00000370 51C8 FFFC dbf D0, -0x6 /* 0000036E */
00000374 A014 syscall GetVol/PBHGetVol/HGetVol
00000376 3B68 0016 F83A move.w [A5 - 0x7C6], [A0 + 0x16]
0000037C 4E75 rts
fn0000037E:
0000037E 203C 0000 4000 move.l D0, 0x4000 /* '@\0' */
00000384 A040 syscall ResrvMem/ReserveMem
00000386 42A7 clr.l -[A7]
00000388 2F3C 4943 6F64 move.l -[A7], 0x49436F64 /* 'ICod' */
0000038E 3F3C 0080 move.w -[A7], 0x80
00000392 A9A0 syscall GetResource
00000394 261F move.l D3, [A7]+
00000396 6714 beq +0x16 /* 000003AC */
00000398 2043 movea.l A0, D3
0000039A A069 syscall HGetState
fn0000039C:
0000039C 3800 move.w D4, D0
0000039E A029 syscall HLock
000003A0 2050 movea.l A0, [A0]
000003A2 4E90 jsr [A0]
000003A4 2043 movea.l A0, D3
000003A6 3004 move.w D0, D4
000003A8 A06A syscall HSetState
000003AA 4E75 rts
label000003AC:
000003AC 203C 0004 0000 move.l D0, 0x40000
000003B2 A040 syscall ResrvMem/ReserveMem
000003B4 7607 moveq.l D3, 0x07
label000003B6:
000003B6 A036 syscall MoreMasters
000003B8 51CB FFFC dbf D3, -0x6 /* 000003B6 */
000003BC 486D FFFC pea.l [A5 - 0x4]
000003C0 A86E syscall InitGraf
000003C2 A8FE syscall InitFonts
000003C4 A912 syscall InitWindows
000003C6 A930 syscall InitMenus
000003C8 A9CC syscall TEInit
000003CA 42A7 clr.l -[A7]
000003CC A97B syscall InitDialogs
000003CE A850 syscall InitCursor
000003D0 203C 0000 FFFF move.l D0, 0xFFFF
000003D6 A032 syscall FlushEvents
000003D8 4227 clr.b -[A7]
000003DA 4267 clr.w -[A7]
000003DC 2F0B move.l -[A7], A3
000003DE A970 syscall GetNextEvent
000003E0 4A1F tst.b [A7]+
000003E2 4E75 rts